package com.rg.model;
//代表一个用户，包含用户ID、用户名、密码、姓名、电子邮件、电话、地址和角色。
public class UserModel {
    private Integer userId;
    private String userName;
    private String userPwd;
    private String Name;
    private String email;
    private String phone;
    private String address;
    private Integer roal;

    public UserModel() {
    }

    public UserModel(Integer userId, String userName, String userPwd, String name, String email, String phone, String address, Integer roal) {
        this.userId = userId;
        this.userName = userName;
        this.userPwd = userPwd;
        Name = name;
        this.email = email;
        this.phone = phone;
        this.address = address;
        this.roal = roal;
    }

    @Override
    public String toString() {
        return "UserModel{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userPwd='" + userPwd + '\'' +
                ", Name='" + Name + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", roal=" + roal +
                '}';
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPwd() {
        return userPwd;
    }

    public void setUserPwd(String userPwd) {
        this.userPwd = userPwd;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getRoal() {
        return roal;
    }

    public void setRoal(Integer roal) {
        this.roal = roal;
    }
}
